<template>
  <!-- 外部包裹层，用于设置浅灰色背景 -->
  <div class="gutter-page-outer-wrapper">
    <!-- 核心内容区域，设置最大宽度并居中 -->
    <div class="gutter-page">


      <!-- <header class="gutter-header">
        <div class="logo-bar">
         
          <div class="logo-container">
            <img 
              src="https://smartlifestyletrends.com/wp-content/uploads/2019/10/Logo-1x.png" 
              alt="Smart Lifestyle Trends Logo"
              class="site-logo"
            />
          </div>
        </div>
      </header> -->

      <!-- 核心内容 -->
      <div class="content-wrapper">
        <!-- 突出标题 -->
        <h1 class="main-title highlighted-title">
          Hold Off On Paying For Gutter Guards Until You Read This
        </h1>
        
        <!-- 主图片/视频占位符：替换为 <video> 标签，设置为自动、循环、静音播放，移除 controls -->
        <div class="main-media-container">
          <video 
            class="main-media"
            autoplay 
            loop 
            muted 
            poster="https://via.placeholder.com/600x350?text=Clogged+Gutter+Image" 
          >
            <!-- 您的华为云视频链接 -->
            <source :src="'https://uamax.obs.ap-southeast-3.myhuaweicloud.com:443/64910-HeroV2.mp4'" type="video/mp4">
            <!-- Fallback content if video is not supported -->
            Your browser does not support the video tag.
          </video>
        </div>

        <!-- 要求选择器部分 -->
        <div class="requirements-section">
          <h2 class="requirements-title">If you meet one of these requirements:</h2>
          
          <!-- Requirement Options -->
          <div class="req-options-group">
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Own Your Home
            </button>
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Have Gutters Older Than 5 Years Old
            </button>
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Live In A Qualified Zip Code
            </button>
          </div>

          <h2 class="requirements-title sub-title">And one of the following home types:</h2>
          
          <!-- Home Type Options -->
          <div class="home-type-options-group">
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Single Family
            </button>
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Condominium
            </button>
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Townhouse
            </button>
            <button class="req-option-btn" @click="redirectToClick">
              <i class="check-icon">✓</i> Manufactured
            </button>
            <!-- 第二行选项 -->
            <button class="req-option-btn sub-row" @click="redirectToClick">
              <i class="check-icon">✓</i> Duplex
            </button>
            <button class="req-option-btn sub-row" @click="redirectToClick">
              <i class="check-icon">✓</i> Triplex
            </button>
          </div>
          
          <p class="eligibility-notice">
            You may be eligible to take advantage of this service!
          </p>
        </div>

        <!-- 顶部红色行动按钮 -->
        <button class="action-btn red-btn" @click="redirectToClick">
          Get New Gutter Guards Now
        </button>

        <!-- 黄色突出文本块 -->
        <div class="highlight-text-block">
          <p>
            Did you know that clogged gutters can potentially cost the average homeowner hundreds if not thousands of dollars in home repairs? Clogged gutters can cause seepage into the foundation of your home, mold and mildew build up, and other costly repairs. The average homeowner leaves thousands of dollars of savings on the table by not getting Gutter Guards, which are usually far more affordable than they think. No matter what type of house you own, you likely qualify for Gutter Guards and NEED to check your eligibility before it's too late.
          </p>
        </div>

        <!-- 第二个行动号召标题 -->
        <h2 class="section-heading">Unbelievable Savings On Gutter Guards!</h2>
        
        <!-- 介绍文本 -->
        <div class="intro-text">
          <p>
            Still unknown to many is this <span class="bold-service" @click="redirectToClick">Brilliant Service</span> that we use to help Homeowners get Gutter Guards at amazing low prices! You likely have had someone quote you crazy expensive prices for new Gutter Guards, right? This Service helps homeowners find new Gutter Guards at great low prices. They connect homeowners to numerous Gutter Guard companies in their area and make them compete for their business!
          </p>
          <p>
            So don't wait around with your clogged and dirty old gutters any longer!
          </p>
        </div>

        <!-- 底部行动号召文本 -->
        <h3 class="final-call-text">Get Gutter Guards!</h3>
        <p class="final-tagline">Quick. Simple. No Hidden Fees. No BS.</p>

        <!-- 底部红色按钮 -->
        <button class="action-btn red-btn final-btn" @click="redirectToClick">
          Get My Quote Now
        </button>

      </div>
      
      <!-- 底部边框线占位符 -->
      <div class="footer-border"></div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'GutterGuardPage',
  methods: {
    redirectToClick() {
      const url = 'https://cheputyaimunting.com/click';
      console.log('Redirecting to:', url);
      window.location.href = url;
    },
  }
};
</script>

<style scoped>

.gutter-page-outer-wrapper {
  background-color: #f7f7f7; /* 浅灰色背景 */
  min-height: 100vh;
  padding: 10px 0 50px;
}

.gutter-page {
  font-family: Arial, sans-serif;
  max-width: 750px; /* 设定最大宽度 */
  width: 95%;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.gutter-header {
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}
.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px; 
}
.logo-container {
  display: flex;
  align-items: center;
}
.site-logo {
    max-height: 25px; 
    width: auto;
}

.content-wrapper {
  padding: 0 30px;
  text-align: center;
}

/* 主标题和高亮条 */
.main-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  padding: 5px 0;
  margin-bottom: 20px;
}

.highlighted-title {
  background-color: #ffff00; /* 亮黄色高亮 */
  display: inline-block;
  padding: 5px 10px;
}

/* 主图片/媒体 */
.main-media-container {
  margin-bottom: 30px;
}
.main-media {
  /* 确保 video 标签占据最大宽度并响应式 */
  max-width: 100%;
  height: auto;
  display: block;
}

/* 要求选择器标题 */
.requirements-section {
  margin-bottom: 30px;
}
.requirements-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}
.sub-title {
    margin-top: 30px;
}

/* 按钮组样式 */
.req-options-group, .home-type-options-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.req-option-btn {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 0.9em;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.req-option-btn:hover {
  background-color: #e5e5e5;
  border-color: #a0a0a0;
}

.check-icon {
  color: #4CAF50; /* 绿色勾选图标 */
  font-style: normal;
  margin-right: 5px;
  font-weight: 900;
}

.eligibility-notice {
  font-size: 0.95em;
  color: #555;
  margin-top: 20px;
}

/* 红色行动按钮 */
.action-btn {
  display: block;
  width: 90%;
  max-width: 450px;
  margin: 30px auto 20px;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1.4em;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  text-transform: uppercase;
  color: white;
}

.red-btn {
  background-color: #cc0000; /* 突出红色 */
}
.red-btn:hover {
  background-color: #aa0000;
}

/* 黄色突出文本块 */
.highlight-text-block {
  background-color: #ffffcc; /* 浅黄色背景 */
  border: 1px solid #ffcc00; /* 边框 */
  padding: 20px;
  margin: 20px 0;
  text-align: left;
  font-size: 0.95em;
  color: #333;
  line-height: 1.5;
}

/* 第二个行动号召标题 */
.section-heading {
  font-size: 1.5em;
  font-weight: 700;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* 介绍文本 */
.intro-text {
  text-align: left;
  font-size: 1em;
  color: #444444;
  line-height: 1.6;
}
.intro-text p {
  margin-bottom: 15px;
}
.bold-service {
    font-weight: 700;
    color: #cc0000; /* 红色突出 */
     text-decoration: underline; /* 新增：下划线 */
    cursor: pointer; /* 提示用户可点击 */
}

/* 底部行动号召文本 */
.final-call-text {
  font-size: 1.5em;
  font-weight: 700;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 5px;
}
.final-tagline {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 20px;
}

.final-btn {
    margin-bottom: 40px; /* 底部留出更多空间 */
}

.footer-border {
    border-bottom: 1px solid #e0e0e0;
}

/* 针对移动设备的响应式调整 */
@media (max-width: 600px) {
    .content-wrapper {
        padding: 0 15px;
    }
    .gutter-page {
        width: 100%;
        box-shadow: none;
    }
    .main-title {
        font-size: 1.4em;
    }
    .requirements-title {
        font-size: 1.2em;
    }
    .req-options-group, .home-type-options-group {
        gap: 8px;
    }
    .req-option-btn {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    .action-btn {
        font-size: 1.2em;
        width: 95%;
    }
    .section-heading, .final-call-text {
        font-size: 1.3em;
    }
}
</style>